import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '@/views/Login'
// import Home from '@/views/Home'
/*杨鹏*/
import Home from '@/views/brand/Home'
import CvInfoList from '@/views/cv/CvInfoList'
import BrandList from '@/views/brand/BrandList'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Login',
    component: Login
  },
  {
    path: '/home',
    name: 'Home',
    component: Home,
    children:[
      {/*老师的简历模板*/
        path: '/cvInfoList',
        name: 'CvInfoList',
        component: CvInfoList
      },
      /*杨鹏*/
      {//品牌列表
        path: '/brandList',
        name: 'BrandList',
        component: BrandList
      },
    ]
  }


]

const router = new VueRouter({
  routes
})

export default router
